<template>
	<view>
		<avatar selWidth="200px" selHeight="400upx" :avatarSrc="url" avatarStyle="width: 200upx; height: 200upx; border-radius: 100%;" @upload="upload"></avatar>
	</view>
</template>

<script>
	import avatar from "@/components/yq-avatar/yq-avatar.vue";
	export default {
		components: {
			avatar
		},
		data() {
			return {
				url: ''
			}
		},
		onLoad(options){
			this.url = options.headPicture ? options.headPicture : '../../../static/img/defalut_tx.png'
			console.log(this.url)
		},
		methods:{
		}
	}
</script>

<style>
</style>
